package com.bingxue.edu.management.education.service;

import com.bingxue.edu.framework.mybatis.base.BaseService;
import com.bingxue.edu.management.education.mapper.TimeTemplateMapper;
import com.bingxue.edu.management.education.model.entity.TimeTemplate;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Slf4j
@Service
@RequiredArgsConstructor
public class TimeTemplateService extends BaseService<TimeTemplateMapper, TimeTemplate> {

    @Transactional(rollbackFor = Exception.class)
    public void remove(List<String> ids) {
            this.removeByIds(ids);
    }
}
